<template>
    <div class="home">
      <div class="formText">
        <div class="formList">
          <div class="formListLeft">
            发件人：
          </div>
          <div class="formListRight">
            <input type="text" placeholder="请输入">
          </div>
        </div>
        <div class="formList">
          <div class="formListLeft">
            邮箱：
          </div>
          <div class="formListRight">
            <input type="text" placeholder="请输入">
          </div>
        </div>
        <div class="formList">
          <div class="formListLeft">
            密码：
          </div>
          <div class="formListRight">
            <input type="text" placeholder="请输入">
          </div>
        </div>
        <div class="formList">
          <div class="formListLeft">
            exel文件：
          </div>
          <div class="formListRight">
            <input type="file">
          </div>
        </div>
        <div class="formBut">
          <div>
            发送
          </div>
        </div>
        <div class="">
          <div> 
            <progress :value="progressVal" max="1"></progress>
          </div>
        </div>
      </div>
    </div>
</template>
<script>
export default {
  data() {
    return {
      progressVal: 0.5
    };
  },
  created: function() {},
  watch: {},
  methods: {
    //  self.progressVal = event.loaded / event.total;
  }
};
</script>
<style scoped>

progress {
  height: 20px;
  width: 300px;
}
.formBut div {
  width: 100px;
  height: 35px;
  border-radius: 5px;
  line-height: 35px;
  text-align: center;
  font-size: 15px;
  color: #000;
  background-color: aqua;
  cursor: pointer;
}
.formBut {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.formListLeft {
  width: 100px;
  text-align: right;
}
.formListRight input {
  width: 340px;
  height: 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding-left: 7px;
}
.formListRight {
  width: 350px;
  margin-left: 20px;
}
.formList:nth-child(1) {
  margin-top: 50px;
}
.formList {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
}
.formText {
  width: 500px;
  height: 700px;
  background-color: rgba(255, 255, 222, 0.5);
}
.home {
  width: 100%;
  height: 100%;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>